Power Of Two | Multiple Approaches | Leetcode 231